/*
 * Created on 16 avr. 2004
 *
 * To change the template for this generated file go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
package move;

import java.io.Serializable;

/**
 * Class repreting a point
 * @author nfaiz
 *
 */
public class Point implements Serializable{

    private double _x;
    private double _y;
    
    /**
     * it return the -x attribute value of the point 
     * @return the x coordonate of the point
     */
    public double getX(){
	return _x;
    }


    /**
     * it return the -y attribute value of the point
     * @return the y coordonate of the point
     */
    public double getY(){
	return _y;
    }

    /**
     * the class constructor 
     * @param x the x coordonate of the point
     * @param y the y coordonate of the point
     */
    public Point(double x,double y){
	_x=x;
	_y=y;
    }
    
}
